find modulus of a number in c